<?php
/**
 * @orm tablename wb_pages
 */
class WbPageNews extends WbPage {
	
	/**
	 * @orm char(255)
	 */
	public $title;
	/**
	 * @orm longtext
	 */
	public $contents;
	/**
	 * @orm owns many WbPageNewsEntry inverse parent
	 */
	public $entries;
	
	public function getTreeIcon() {
		return 'news';
	}

}